# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: team/gnome <pabloyoyoista@postmarketos.org>
pkgname=adwaita-icon-theme
pkgver=47.0
pkgrel=0
pkgdesc="Adwaita icon theme"
url="https://gitlab.gnome.org/GNOME/adwaita-icon-theme"
arch="noarch"
options="!check"  # Icons only, no binaries.
license="LGPL-3.0-or-later OR CC-BY-SA-3.0"
depends="librsvg"
makedepends="
	gtk+3.0
	icon-naming-utils
	intltool
	meson
	"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/adwaita-icon-theme/${pkgver%.*}/adwaita-icon-theme-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
	# maybe move pkgconfigs to /usr/lib/ for consistency
}

sha512sums="
6ce983ac2ca16096c161a2ae737a6eeb531d3b4a4c584067c70a2d552ae42687986902f4a0fd48333cd33de5483a328f4d50e6541f2b2144fe0db25023dc86c3  adwaita-icon-theme-47.0.tar.xz
"
